Ditto offers an HTTP API to programmatically interact with transactional data generated in the mesh network and stored within Ditto Server.
update
, and receive
corresponding responses from Ditto Server.
These resources correspond to the key elements of the Ditto document model. For more information, see Document Model.
cloud.ditto.live
and programmatically interact with them using an
HTTP server interface.
{canonical-root-url}
parameter with the unique app ID provided when you
created your app in the portal:
DQL_STRICT_MODE=false
, use /api/v5/swagger.jsonHTTP API v5 is compatible with v4. Read more about STRICT MODE and upcoming v5 behaviorContent‑Type
HTTP header included in
your response:
string
.ATTACHMENT
object. (See HTTP API - Attachments)Binary Size | Encoding Format |
---|---|
Below 250 KB | Base64-encoded string value |
Between 250KB and 2MB | ATTACHMENT object |
2MB and above | This will be rejected as the payload is too large. Please get in contact with Ditto Support to have this limit increased for your deployment if necessary. |
string
in your request.
ATTACHMENT
, as appropriate, may result in compatibility issues leading to data corruption or loss.